<ion-view view-title="订单明细" name="login-view">
  <ion-nav-bar class="item-customer-bg-darkred" align-title="center">
    <ion-nav-back-button class="button-clear">
      <i class="ion-arrow-left-c font_arrow"></i>
    </ion-nav-back-button>
  </ion-nav-bar>
  <ion-content>
    <ion-refresher pulling-text="下拉刷新" on-refresh="doGwRefresh()"></ion-refresher>
    <div ng-switch on="params.hasOrder">

      <div ng-switch-when="0">
        <center>暂无订单</center>
      </div>
      <div ng-switch-when="1">
        <div ng-repeat=" item in params.gworderData">
          <div class="card" >
            <div class="row">
              <div class="col col-15 ddcx-card-item-cust-left ddcx-card-itembg-yellow" >
                  固网预订单
              </div>
              <div class="col ddcx-card-item-cust-right" >
                  <div class="ddcx-card-item-num">{{item.ORDER_PRE_NUMBER}}</div>
                  <div class="ddcx-card-item-content">
                    速率：{{item.BROADBAND_SPEED}}&nbsp;&nbsp;
                    增值业务：{{item.VALUE_ADDED_SERVICE}}<br/>
                    姓名：<u>{{item.CUST_NAME}}</u>&nbsp;&nbsp;订单状态：<u>{{item.ORDER_ACC_STATUS_NAME}}</u><br/>
                    证件号：{{item.PSPT_ID}}<br/>
                    创建时间：<u>{{item.ORDER_CREATE_TIME}}</u>
                  </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <ion-infinite-scroll ng-if="params.gworderQueryParams.moreData" on-infinite="doGwLoadMore()" distance="5%" ></ion-infinite-scroll>
  </ion-content>
</ion-view>
<!--套餐详情浮动框-->
<script id="ywkhfailreason.html" type="text/ng-template">
  <ion-popover-view class="ywkh_pop" style="opacity: 0.5">
    <ion-header-bar class="pop_header">
      <p>失败原因</p>
    </ion-header-bar>
    <ion-content scrollbar-y="false" class="pop_content">
      <!--<div class="font_info2" style="text-align: left">套餐详情:</div>-->
      <div class="font_info2">
        <textarea class="step2_area">{{params.FAILURE_REASON}}</textarea>
      </div>
      <div class="cust_algin"><button class="button  bt_idcard" ng-click="closeywkh()">关闭</button></div>
    </ion-content>
  </ion-popover-view>
</script>


